/*
 * Copyright 2020 edenrun.cn All right reserved. This software is the
 * confidential and proprietary information ofedenrun.cn ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with edenrun.cn.
 */

package com.zoom.pluto.zxg.service;

import com.zoom.pluto.common.model.dto.ZxgDTO;

import java.util.List;

/**
 * 心血管数据访问服务接口
 *
 * @author zoom
 * @date 2020-06-27
 */
public interface ZxgService {

    /**
     * 根据身份证号获取用户所有心血管检测数据
     *
     * @param idNo 身份证号
     * @return 心血管检测数据列表
     */
    List<ZxgDTO> getAllZxgInfo(String idNo);

    /**
     * 根据身份证号获取用户最新心血管检测数据
     *
     * @param idNo 身份证号
     * @return 心血管检测数据
     */
    ZxgDTO getLatestZxgInfo(String idNo);

}
